package com.dream21th.common.advisor;

import org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;


public class ParamValidateBeanPostProcessor extends AbstractBeanFactoryAwareAdvisingPostProcessor {

    @Override
    public void setBeanFactory(BeanFactory beanFactory) throws BeansException {
        ParamValidateAdvisor logAdvisor = new ParamValidateAdvisor();
        logAdvisor.setBeanFactory(beanFactory);
        this.advisor = logAdvisor;
    }
}
